package com.project.erp.service.contract.trade;

import java.util.List;

import com.project.erp.common.utils.Page;
import com.project.erp.model.contract.trade.TradeCusContract;
import com.project.erp.model.contract.trade.TradeCusContractDtl;

/**
 * 
 * COPYRIGHT (C) 2013 BY XXX公司

 *  功能模块名：合同-外贸客户合同

 *  功能描述：外贸客户合同业务处理类

 * @author LiJiaGuo    

 * @version 1.0  

 * @created 2013-12-14 下午11:03:09
 */
public interface TradeCusContractService {
	/**
	 * 根据外贸客户合同表字段查询外贸客户合同信息
	 * @param page
	 * @param tradeCusContract
	 * @return  Page<TradeCusContract>
	 */
	public Page<TradeCusContract> getTradeCusContractPageBySearch(Page<TradeCusContract> page,TradeCusContract tradeCusContract);
	
	/**
	 * 保存
	 * @param tradeCusContract
	 */
	public void saveTradeCusContract(TradeCusContract tradeCusContract);
	
	/**
	 * 根据id查找对象
	 * @param tradeCusContractId
	 * @return
	 */
	public TradeCusContract getTradeCusContractById(Long tradeCusContractId);
	
	/**
	 * 更新
	 * @param tradeCusContract
	 * @param fobCostList
	 * @param fobCostIds
	 */
	public void editTradeCusContract(TradeCusContract tradeCusContract,List<TradeCusContractDtl> tradeCusContractDtlList,
			String[] tradeCusContractDtlIds);
	
	/**
	 * 删除
	 * @param tradeCusContractIds
	 */
	public void delTradeCusContract(String[] tradeCusContractIds);
}
